<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>
</head>
<style>
  #box {
    width: 300px;
    height: 300px;
    background-color: red;
  }
</style>

<body>
  <div id="box">

  </div>
  <script>
    const oBox = document.getElementById('box')

    const mov = function (){
      console.log('11');
    }

    const lodash_mov = _.throttle(mov,100)

    oBox.onmousemove = function () {
      lodash_mov()
    }


  </script>
</body>
<script>




</script>

</html>